package com.macro.mall.service;

import com.macro.mall.dto.OmsOrderReturnApplyResult;
import com.macro.mall.dto.OmsUpdateStatusParam;
import com.macro.mall.dto.OmsReturnApplyQueryParam;
import com.macro.model.OmsOrderReturnApply;

import java.util.List;

/**
 *  退货模块
 */
public interface OmsOrderReturnApplyService {

    /**
     * 条件查询退货申请,并分页
     */
    List<OmsOrderReturnApply> list(OmsReturnApplyQueryParam queryParam, Integer pageNum, Integer pageSize);

    /**
     *  批量删除退货申请
     */
     int delete(List<Long> ids);

    /**
     * 获取退货申请详情
     */
    OmsOrderReturnApplyResult getItem(Long id);

    /**
     * 修改申请状态
     */
    int updateStatus(Long id, OmsUpdateStatusParam statusParam);
}
